A minimalist and elegant presentation theme
March 31, 2025
Before we dive a bit deeper, here is a simple example of the clean theme in action.
Next, we’ll take a brief tour of some theme components.
The clean theme is language agnostic. Use it with R, Python, Julia, etc. Or none of the above.
However, this demo uses R code to highlight advanced theme features. You’ll need to install some software if you’d like to render the demo “as-is”.
Required software (this demo only)
While reveal.js presentations are HTML format, we will show an example of how to embed LaTeX tables as images. This requires a working Tex distribution, of which TinyTex provides by far the easiest and lightest integration with Quarto. More details here.
Here we have an unordered list.
And next we have an ordered one.
To emphasize specific words or text, you can:
.alert class, e.g. important note..fg class for custom colour, e.g. important note..bg class for custom background, e.g. important note.To cross-reference, you have several options, for example:
.button class provided by this theme, e.g. AppendixCitations follow the standard Quarto format and be sourced from BibLaTex, BibTeX, or CLS files. For example:
Topic 1: Spatial Frictions (Fajgelbaum et al. 2018; Hsieh and Moretti 2019; Moretti 2011)
Topic 2: Blah (Suárez Serrato and Zidar 2016)
Quarto provides dedicated environments for theorems, lemmas, and so forth.
But in presentation format, it’s arguably more effective just to use a Callout Block.
Regression Specification
The main specification is as follows:
\[ y_{it} = X_{it} \beta + \mu_i + \varepsilon_{it} \]
Here is a long sentence that will wrap onto the next line as it hits the column width, and continue this way until it stops.
Some other text in another column.
A second paragraph.
Multicolumn support is very flexible and we can continue with a single full span column in the same slide.
Note that sub- and multi-panel figures are also natively supported by Quarto. See here.